<template>
  <Row style="padding:30px 15px;">
    <Row style="display:flex;justify-content:center;align-items:center;padding:15px;color:#CD9B1D;font-size:16px;border-bottom:1px solid #ededed;">
        <img src="@/assets/01/success.png" height="40px" width="60px" />
        <div style="margin-left:2%;margin-top:10px;">恭喜您完成注册！</div>
    </Row>
    <Row style="display:flex;flex-direction: column; justify-content:center;align-items:center;padding:20px 0;font-size:14px;">
		<div style="margin-top: 5px;">请从PC浏览器访问颜述商家后台</div>
    </Row>
    <Row style="display: flex;justify-content: center;">
        <Button @click="copy" style="background:#5fc7a4 !important;border:1px solid #5fc7a4 !important;margin-bottom:10px;" type="primary" >复制网址</Button>
    </Row>
	<Row style="font-size:14px;margin-top: 20px;">
			<div style="text-align: center;">
			    <img src="@/assets/QQ.png" style="width: 130rpx;height: 130px;"/>
			    <div>林经理</div>
			</div>
		
		
	</Row>
  </Row>
</template>
<script>
export default {
  name: 'registerSuccess',
  data () {
    return {
		img:{
		    // yanshu:require('@/assets/8/颜述.png'),
		    contact1:require('@/assets/微信1.png'),
		    contact:require('@/assets/QQ.png'),
		    contact2:require('@/assets/微信1.png'),
		    contact3:require('@/assets/微信1.png'),
		}
    }
  },
  methods: {
   copy(){
	   let href ='https://cloud.redsay.net/login/1';
	   let channel = sessionStorage.getItem('channel')
	   if (channel) {
			href+='?channel=' + channel
	   } 
	   
	   console.log(href);
	   //alert(href)
	   this.$copyText(href).then(
	   	function(e) {
	   		console.log("复制成功")
	   	},
	   	function(e) {
	   		alert("复制失败!");
	   	}
	   );
	   
	   this.$Message.info('复制成功');
   },
	 
	 
	 
  }
}
</script>